package com.smart.campus.service;

import com.smart.campus.dto.DangerDetails;
import com.smart.campus.dto.HiddenDanger;
import com.smart.campus.pojo.PagedResponse;

import java.util.List;

public interface DangerService {
    PagedResponse<HiddenDanger> findDangerPagination(HiddenDanger hiddenDanger, Integer pageNum, Integer pageSize);

    void addDanger(HiddenDanger hiddenDanger);

    HiddenDanger getDangerById(Long id);

    void assignPersonnelDanger(DangerDetails dangerDetails);
}
